package com.ruoyi.app.mapper;

import com.ruoyi.app.domain.TravelRouteDetail;
import com.ruoyi.app.domain.TravelRouteDetailExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TravelRouteDetailMapper {
    int countByExample(TravelRouteDetailExample example);

    int deleteByExample(TravelRouteDetailExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TravelRouteDetail record);

    int insertSelective(TravelRouteDetail record);

    List<TravelRouteDetail> selectByExample(TravelRouteDetailExample example);

    TravelRouteDetail selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TravelRouteDetail record, @Param("example") TravelRouteDetailExample example);

    int updateByExample(@Param("record") TravelRouteDetail record, @Param("example") TravelRouteDetailExample example);

    int updateByPrimaryKeySelective(TravelRouteDetail record);

    int updateByPrimaryKey(TravelRouteDetail record);
}